﻿using System;
using System.Collections.Generic;

namespace deviceManage.Models
{
    public partial class Project
    {
        /// <summary>
        /// 项目信息
        /// </summary>
        public Project()
        {
            Device = new HashSet<Device>();            
        }

        public string Id { get; set; }
        public string Name { get; set; }
        public sbyte? Deleted { get; set; }
        public int? SortOrder { get; set; }
        public DateTime? CreateDate { get; set; }
        public string DevelopUnit { get; set; }
        public decimal? Amount { get; set; }
        public DateTime? StartTime { get; set; }
        public string Participate { get; set; }
        /// <summary>
        /// 项目状态，1-在建，2-已完成
        /// </summary>
        public int? State { get; set; }
        public sbyte? Finish { get; set; }
        public DateTime? FinishDate { get; set; }
        public string ContractId { get; set; }
        /// <summary>
        /// 使用单位
        /// </summary>
        public string UseUnit { get; set; }

        public BuyContract Contract { get; set; }

        public ICollection<Device> Device { get; set; }

        /// <summary>
        /// 部门管理
        /// </summary>
        public string DepartId { get; set; }
        public Depart Depart { get; set; }


    }
}
